import { createRouter, createWebHashHistory } from 'vue-router'

// 路由配置
const routes3 = [
  
  {
    path: '/home3',
    name: 'Home',
    meta: {
      title: '首页',
      icon: 'HomeFilled'
    },
    component: () => import('@/modules/module3/module3-kangri/views/Home.vue')
  
  },
  {
    path: '/timeline',
    name: 'Timeline',
    meta: {
      title: '战争时间线',
      icon: 'Timer'
    },
    component: () => import('@/modules/module3/module3-kangri/views/Timeline.vue')
  },
  {
    path: '/heroes',
    name: 'Heroes',
    meta: {
      title: '抗战英雄',
      icon: 'user'
    },
    component: () => import('@/modules/module3/module3-kangri/views/Heroes.vue')
  },
  {
    path: '/battles',
    name: 'Battles',
    meta: {
      title: '重要战役',
      icon: 'flag'
    },
    component: () => import('@/modules/module3/module3-kangri/views/Battles.vue')
  },
  {
    path: '/gallery',
    name: 'Gallery',
    meta: {
      title: '历史图片',
      icon: 'picture'
    },
    component: () => import('@/modules/module3/module3-kangri/views/Gallery.vue')
  },
  ]

// 创建路由实例
const router3 = createRouter({
  history: createWebHashHistory(),
  routes3
})
export default routes3
// export default router3